package com.lidong.lowcode.base.domain;

import java.util.Map;

/**
 * 按钮基类
 *
 * @author LiDong
 * @version 1.0.0
 * @createTime 5/3/2022 4:44 PM
 */
public class ToolBar {

    /**
     * 模块名称
     */
    private String moduleName;

    /**
     * 模块编码
     */
    private String moduleCode;

    /**
     * 按钮编码
     */
    private String toolBarCode;

    /**
     * 按钮名称
     */
    private String toolBarName;

    /**
     * 是否隐藏
     */
    private boolean hidden;

    /**
     * 是否可用
     */
    private boolean usable;

    private Map<String, Object> toolBarParams;

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getToolBarCode() {
        return toolBarCode;
    }

    public void setToolBarCode(String toolBarCode) {
        this.toolBarCode = toolBarCode;
    }

    public String getToolBarName() {
        return toolBarName;
    }

    public void setToolBarName(String toolBarName) {
        this.toolBarName = toolBarName;
    }

    public Map<String, Object> getToolBarParams() {
        return toolBarParams;
    }

    public void setToolBarParams(Map<String, Object> toolBarParams) {
        this.toolBarParams = toolBarParams;
    }

    public boolean isHidden() {
        return hidden;
    }

    public void setHidden(boolean hidden) {
        this.hidden = hidden;
    }

    public boolean isUsable() {
        return usable;
    }

    public void setUsable(boolean usable) {
        this.usable = usable;
    }

    @Override
    public String toString() {
        return "ToolBar{" +
                "moduleName='" + moduleName + '\'' +
                ", moduleCode='" + moduleCode + '\'' +
                ", toolBarCode='" + toolBarCode + '\'' +
                ", toolBarName='" + toolBarName + '\'' +
                ", hidden=" + hidden +
                ", usable=" + usable +
                ", toolBarParams=" + toolBarParams +
                '}';
    }
}
